<%@ page language="java"  pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title><s:property value="#session.access"/></title>
<meta name="viewport" content="width=device-width,inital-scale=1.0,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no">
<meta name="format-detection" content="telephone=no,email=no,adress=no">
<link href="<%=request.getContextPath()%>/css/global.css" type="text/css" rel="stylesheet" />
<link href="<%=request.getContextPath() %>/css/bootstrap.css" type="text/css" rel="stylesheet"/>
<link href="<%=request.getContextPath() %>/css/bootstrap-responsive.css" type="text/css" rel="stylesheet"/>
<script type="text/javascript" src="<%=request.getContextPath() %>/js/jquery.js"></script>
<script type="text/javascript" src="<%=request.getContextPath() %>/js/global.js"></script>
<script type="text/javascript" src="<%=request.getContextPath() %>/js/bootstrap.js"></script>
<script type="text/javascript">
function blackSave(event,black,key,val){
	if(event.keyCode==13 || event.keyCode==42)
	{
		var path="<%=request.getContextPath()%>/venture_save"+black+".html";
		var data=key+"="+val;
		ajax(path,data);
	}
}

</script>
</head>
<body>
	<div class="container">
		
		<s:action name="global_menu"  executeResult="true"></s:action>
		
		<div class="row">
			<div class="span12">
					
					<h5>
						黑名单列表
					</h5>
					
					<table class="table table-bordered table-striped">
							<tr>
								<td height="40" >
									<input type="text" placeholder="添加黑IP记录" style="width: 90%;" onkeyup="blackSave(event,'blackip','bckIp',this.value);">
								</td>
							</tr>
							<tr>
								<td height="40" >
									<input type="text" placeholder="添加黑卡记录" style="width: 90%;" onkeyup="blackSave(event,'blackcard','bckCard',this.value);">
								</td>
							</tr>
							<tr>
								<td height="40" >
									<input type="text" placeholder="添加风险国家代码" style="width: 90%;" onkeyup="blackSave(event,'blackcountry','bckCountry',this.value);">
								</td>
							</tr>
							<tr>
								<td height="40" >
									<input type="text" placeholder="添加风险客户名" style="width: 90%;" onkeyup="blackSave(event,'blackname','bckName',this.value);">
								</td>
							</tr>
							<tr>
								<td height="40" >
									<input type="text" placeholder="添加风险邮箱记录" style="width: 90%;" onkeyup="blackSave(event,'blackemail','bckEmail',this.value);">
								</td>
							</tr>
							<tr>
								<td height="40" >
									<input type="text" placeholder="添加风险电话记录" style="width: 90%;" onkeyup="blackSave(event,'blackphone','bckPhone',this.value);">
								</td>
							</tr>
							<tr>
								<td height="40" >
									<input type="text" placeholder="添加风险地址记录" style="width: 90%;" onkeyup="blackSave(event,'blackaddr','bckAddr',this.value);">
								</td>
							</tr>
					</table>				
					
					<div class="hero-unit" style="padding: 15px;font-size: 12px;line-height: 20px;">
						<p>
							1 . 符合黑名单列表内任意一项的持卡人,交易会被阻止.
						</p>
						<p>
							2 . 如果需要批量上传黑名单资料,请联系运营人员.
						</p>
						<p>
							3 . 风险客户姓名请输入firstname加空格加lastname.
						</p>
						<p>
							4 . 风险国家请输入两位标准国家代码,详情请参考<a href="<%=request.getContextPath()%>/tool_country.html">风险国家代码</a>.
						</p>
					</div>
					
				</div>
		</div>
		
		
		<s:action name="global_foot"  executeResult="true"></s:action>
	</div>
</body>
</html>